var express = require('express');
var router = new express.Router();
var productService = require('../service/product')

router.get('/list',function (req,res) {
    productService.queryAll(function (list) {
         res.json(list);
    })

})


module.exports = router;